<template>
    <div class="main">
        <a class="backBtn backIco" href="javascript:" @click="backUrl"><img src="../../images/ksbao/back.png" alt=""><span>返回登录</span></a>
        <div class="wrap">
            <div class="loginLogo">
                <div class="logoIcon"><img src="../../images/ksbao/yinglogo.png" alt="英腾教育" /></div>
            </div>
            <ul class='loginTab'>
                <li style="margin-left: 25%;">
                    <span>重置密码</span>
                </li>
            </ul>
            <!-- 注册/重置密码 -->
            <registMenu v-show="showSubMenu" :isRegShow="isRegShow" :reType="registerType"></registMenu>
            <!-- 注册/重置密码 -->
        </div>
    </div>
</template>
<script>
import registMenu from "./children/registMenu.vue";
export default {
    components: {
        registMenu // 找回密码
    },
    data: function() {
        return {
            isRegShow: false,
            registerType: 'restorePassword',   // regist or restorePassword
            showSubMenu: true,     // 显示登录true or 显示注册 false
            isShowAgreen: false, // 是否显示协议
        }
    },
    methods: {
        backUrl: function(){
            this.$router.push('/login');
        }
    }
}

</script>
<style lang="less">
@import "./login.less";
.weui-toast__content {
    color: #fff;
}
</style>
